package com.study.io.nio.demo;

import com.study.io.nio.demo.reactor.Reactor;

import java.io.IOException;

/**
 * 反应器模式test类
 */
public class ReactorTest {


    /**
     * 启动服务端测试
     *
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {
        Reactor reactor = new Reactor(8000);
        Thread t = new Thread(reactor);
        t.start();
    }
}
